package com.hgw.Demo05_PrototypePattern.example_DeepCloning;

import java.io.Serializable;

/**
 * Data time:2021/12/12 18:23
 * StudentID:2019112118
 * Author:hgw
 * Description: 附件类
 */
public class Attachment implements Serializable {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void download() {
        System.out.println("下载附件，文件名为: " + name);
    }
}
